<html>
<head>
<meta http-equiv="content-type" content="text/html; utf-8">
<title>miniYUI.dom.getChildren test</title>
<meta name="description" content="function test for miniYUI.dom.getChildren">
<meta name="keywords" content="getChildren, miniYUI, function test">
</head>

<body>
	<div id="parentDiv">
		<div class="sunDiv">
			<div class="item">11</div>
			<div class="item">12</div>
			<div class="item">13</div>
			<div class="item">14</div>
			<div class="item">15</div>
		</div>
		<div class="item">1</div>
		<div class="item">2</div>
		<div class="item">3</div>
		<div class="item">4</div>
		<div class="item">5</div>
		<div class="sunDiv">
			<div class="item">6</div>
			<div class="item">7</div>
			<div class="item">8</div>
			<div class="item">9</div>
			<div class="item">10</div>
		</div>
	</div>
	<script type="text/javascript" src="../trunk/miniyui.js"></script>
	<script type="text/javascript">
		var dParent = document.getElementById('parentDiv');
		var dSuns = miniYUI.dom.getChildren(dParent);
		for (var i=0,iLen=dSuns.length;i<iLen;i++) {
			alert(dSuns[i].innerHTML);
		}
	</script>
</body>
</html>